package com.ht.module.bus.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;


/**
 * <p>
 * 车辆负责的线路信息
 * </p>
 *
 * @author hejialun
 * @since 2024-07-29
 */

@TableName("t_vehicle_route_responsibility")
@Data
@Accessors(chain = true)
public class TVehicleRouteResponsibility{

	@ApiModelProperty("车辆负责线路编码")
    @TableId
    private String vehicleRouteResponsibilityCode;

	@ApiModelProperty("线路编码")
    private String routeCode;

	@ApiModelProperty("汽车牌照")
    private String vehicleLicenseLate;

	@ApiModelProperty("注册区划")
    private String districtCode;

    private String deptId;

	@ApiModelProperty("uuid")
    private String createUser;
    private LocalDateTime createDate;
    private String updateUser;
    private LocalDateTime updateDate;


    @ApiModelProperty("逻辑删除")
    @TableLogic
    private Integer delFlag;

    @ApiModelProperty("01有效,02无效")
    private String state;

    @ApiModelProperty("线路名称")
    @TableField(exist = false)
    private String routeName;

    @ApiModelProperty("运输企业名称")
    @TableField(exist = false)
    private String companyName;

    @ApiModelProperty("运输企业编码")
    @TableField(exist = false)
    private String companyCode;


    @ApiModelProperty("区划编码名称")
    @TableField(exist = false)
    private String districtName;


    @ApiModelProperty("途经点")
    @TableField(exist = false)
    private String passingPoindCode;

    @ApiModelProperty("途经站点集合")
    @TableField(exist = false)
    private List<TStation> stations;


    @ApiModelProperty("创建人姓名")
    @TableField(exist = false)
    private String createUserName;
}
